package com.cykj.faceledtv.ui.main;

import android.content.Context;

import com.cykj.faceledtv.ui.base.MvpPresenter;
import com.cykj.faceledtv.ui.base.MvpView;

/**
 * @author jzh
 * @date 2019/05/10 14:56
 */
public interface MainMvpView extends MvpView {
    /**
     * 天气成功回调
     *
     * @param todayMsg     今日天气
     * @param tomorrowMsg  明日天气
     * @param todayCode    今日天气图标
     * @param tomorrowCode c明日天气图标
     */
    void onSuccess(String todayMsg, String tomorrowMsg, String  todayCode, String tomorrowCode);

    interface MainMvpPresenter<v extends MainMvpView> extends MvpPresenter<v> {
        /**
         * 获取天气
         */
        void doGetWeather(Context context, String city);
    }

}
